package com.xzit.rcpyxt.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class StudentAttendanceRequest {

    @ApiModelProperty(value = "考勤id", required = true)
    private int attendanceId;
    private String attendanceName;
    private List<StudentAttendanceInfo> studentAttendanceInfoList;

    public static class StudentAttendanceInfo {

        @ApiModelProperty(value = "学生id", required = true)
        private int studentId;
        @ApiModelProperty(value = "学生姓名", required = false)
        private String studentName;
        @ApiModelProperty(value = "考勤状态0已到1请假2缺勤，", required = true)
        private int attendanceStatus;

        public int getStudentId() {
            return studentId;
        }

        public void setStudentId(int studentId) {
            this.studentId = studentId;
        }

        public String getStudentName() {
            return studentName;
        }

        public void setStudentName(String studentName) {
            this.studentName = studentName;
        }

        public int getAttendanceStatus() {
            return attendanceStatus;
        }

        public void setAttendanceStatus(int attendanceStatus) {
            this.attendanceStatus = attendanceStatus;
        }
    }

    public int getAttendanceId() {
        return attendanceId;
    }

    public void setAttendanceId(int attendanceId) {
        this.attendanceId = attendanceId;
    }

    public String getAttendanceName() {
        return attendanceName;
    }

    public void setAttendanceName(String attendanceName) {
        this.attendanceName = attendanceName;
    }

    public List<StudentAttendanceInfo> getStudentAttendanceInfoList() {
        return studentAttendanceInfoList;
    }

    public void setStudentAttendanceInfoList(List<StudentAttendanceInfo> studentAttendanceInfoList) {
        this.studentAttendanceInfoList = studentAttendanceInfoList;
    }
}
